package com.kfm.model;

import lombok.*;
import org.apache.ibatis.type.Alias;

@Data
@Getter
@Setter
@AllArgsConstructor
@RequiredArgsConstructor
@Alias("student")
public class Student {

  private Integer id;
  private String name;
  private String gender;
  private Integer age;
  private double score;

  public Student(String name, String gender, Integer age, double score){
    this.name = name;
    this.gender = gender;
    this.age = age;
    this.score = score;
  }
}
